import React, { useState, useEffect} from 'react';
import { useHistory } from "react-router-dom";  
import http from '../../model/http';
import code from "../../model/code";
import './clientReview.less'; 
import {Badge,ActivityIndicator, List, Toast, Modal, Button, Flex} from 'antd-mobile';
import Header from "../../components/header/Header";
import biaozhunImg from '../../libs/font/img/biaozhun.png'
import huodongImg from '../../libs/font/img/huodong.png'
function ClientReview (){
    const history = useHistory();

    // 点击跳转
    const expertScheduling = (path) => {
        console.log('触发')
        history.push(path)
    }

    return (
        <div className="v-client-review">
            {/* <Button type="primary">标准</Button>
            <Button type="warning">活动邀约</Button> */}
            <div className="scheduleNav-box">
                <Flex className="scheduleNav-list" onClick={() => expertScheduling('/clientReview/standard')}>
                    <img src={biaozhunImg}/>
                    <span>标准回访</span>
                </Flex>
                <Flex className="scheduleNav-list" onClick={() => expertScheduling('/clientReview/eventInvitation')}>
                    <img src={huodongImg}/>
                    <span>活动邀约</span>
                </Flex>
            </div>
            <Header />
        </div>
    )
}
export default ClientReview;